package com.gz.mapper;

import com.gz.entity.Monster;

import java.util.List;

public interface MonsterMapper {
    //注解方式

    //添加monster
    public void addMonster(Monster monster);

    //根据id删除
    public void delMonster(int monsterId);

    //修改Monster
    public void updateMonster(Monster monster);

    //查询-根据id
    public Monster getMonsterById(Integer id);

    //查询所有Monster
    public List<Monster> getMonsters();
}
